Skip to content

Conversation

@lursz
Copy link
Contributor

@lursz lursz commented Jan 8, 2026

New example, ported from threejs

@lursz lursz changed the title Docs: ducks docs: ducks Jan 8, 2026
@github-actions
Copy link

github-actions bot commented Jan 8, 2026

pkg.pr.new

packages
Ready to be installed by your favorite package manager ⬇️

https://pkg.pr.new/software-mansion/TypeGPU/typegpu@95ad4ee68b472da48848c295a3836ec3513b2ffc
https://pkg.pr.new/software-mansion/TypeGPU/@typegpu/noise@95ad4ee68b472da48848c295a3836ec3513b2ffc
https://pkg.pr.new/software-mansion/TypeGPU/unplugin-typegpu@95ad4ee68b472da48848c295a3836ec3513b2ffc

benchmark
view benchmark

commit
view commit

@github-actions
Copy link

github-actions bot commented Jan 13, 2026

📊 Bundle Size Comparison

📈 Summary

  • 📈 Increased: 0 bundles

  • 📉 Decreased: 0 bundles

  • Unchanged: 24 bundles

  • Unknown: 0 bundles

📋 Bundle Size Comparison

Test tsdown webpack
dataImportEverything.ts 80.03 kB (➖) 85.34 kB (➖)
dataImportOneDirect.ts 40.28 kB (➖) 40.75 kB (➖)
dataImportOneStar.ts 40.28 kB (➖) 40.75 kB (➖)
functionWithUseGpu.ts 268 B (➖) 276 B (➖)
functionWithoutUseGpu.ts 24 B (➖) 59 B (➖)
importEntireLibrary.ts 256.73 kB (➖) 283.79 kB (➖)
importEntireLibraryUnused.ts 0 B (➖) 0 B (➖)
stdImportEverything.ts 113.10 kB (➖) 117.60 kB (➖)
stdImportOneDirect.ts 61.97 kB (➖) 62.92 kB (➖)
stdImportOneStar.ts 61.97 kB (➖) 62.92 kB (➖)
tgpuImportEverything.ts 237.74 kB (➖) 264.42 kB (➖)
tgpuImportOne.ts 237.75 kB (➖) 264.43 kB (➖)

@lursz
Copy link
Contributor Author

lursz commented Jan 13, 2026

Comments in the code resemble comments in the og code, so it's easier to understand where something came from.

@lursz lursz marked this pull request as ready for review January 13, 2026 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants